import type { App } from 'vue'
import dayjs from 'dayjs'

export default function registerProperties(app: App) {
  app.config.globalProperties.$filters = {
    toFormatTime: (value: string, date: string) => {
      return dayjs(value).format(date)
    }
  }
}
